Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a bills resource.
| id required | string bills identifier |
The new bills resource
| timestamp | string <date-time> |
| fetchedTaxes | Array of strings |
| date required | string <date-time> |
| lines | Array of strings <iri-reference> [ items <iri-reference > ] Get Lines |
| inventoryEntries | Array of strings <iri-reference> [ items <iri-reference > ] |
| payments | Array of strings <iri-reference> [ items <iri-reference > ] |
| number | string or null |
| supplier required | string <iri-reference> Get supplier. |
| project | string or null <iri-reference> |
| payer required | string <iri-reference> Get payer. |
| employee required | string <iri-reference> Get employe. |
| taxes | Array of strings <iri-reference> [ items <iri-reference > ] |
| type required | string <iri-reference> |
| distributionType required | string <iri-reference> |
| status required | string <iri-reference> |
| shipments | Array of strings <iri-reference> [ items <iri-reference > ] |
| batches | Array of strings <iri-reference> [ items <iri-reference > ] |
| deliveryDate | string <date-time> |
| notes | string or null |
| conditions | string or null |
| coordinate | string or null <iri-reference> |
| followups | Array of strings <iri-reference> [ items <iri-reference > ] Get Followups |
| owningCorporation | string <iri-reference> |
| supplierRef | string or null |
| currency | string <iri-reference> |
| conversionRate | string Default: 1 |
| autoEmail | boolean |
| autoInterests | boolean |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| image | string <iri-reference> |
| currentTaxes | Array of strings |
| employe | integer Get employe. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "timestamp": "2019-08-24T14:15:22Z",
- "fetchedTaxes": [
- "string"
], - "date": "2019-08-24T14:15:22Z",
- "number": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "conditions": "string",
- "supplierRef": "string",
- "conversionRate": 1,
- "autoEmail": true,
- "autoInterests": true,
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "currentTaxes": [
- "string"
], - "employe": 0,
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "date": "2019-08-24T14:15:22Z",
- "payments": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "BP",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "supplier": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "F",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "project": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "W",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "payer": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "firstName": "string",
- "lastName": "string",
- "shortcode": "U",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "personFullName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "employee": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "type": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "BTY",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "distributionType": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "BDT",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "status": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "BS",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "shipments": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "S",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "batches": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "shortcode": "L",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "deliveryDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "conditions": "string",
- "coordinate": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CR",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "followups": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "V",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "childrenListing": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "supplierRef": "string",
- "currency": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "notes": "string",
- "shortcode": "CU",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "conversionRate": 1,
- "shortcode": "B",
- "autoEmail": true,
- "autoInterests": true,
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "taxesListing": "string",
- "total": 0,
- "totalToPay": 0,
- "subTotal": 0,
- "convertedSubTotal": 0,
- "convertedTotal": 0,
- "convertedTaxesAmount": 0,
- "productSubTotal": 0,
- "convertedProductSubTotal": 0,
- "totalItemsQuantity": 0,
- "nbProducts": 0,
- "nbProductsCountedInInventory": 0,
- "currentTaxes": [
- "string"
], - "taxesCount": null,
- "taxesFetchable": true,
- "taxesOverrited": true,
- "anonymousToken": "string",
- "personOFInterest": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "firstName": "string",
- "lastName": "string",
- "shortcode": "U",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "personFullName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "linesListing": "string",
- "inventoryEntriesListing": "string",
- "paymentsListing": "string",
- "shipmentsListing": "string",
- "batchesListing": "string",
- "followupsListing": "string",
- "customPropertiesListing": "string",
- "baseTransactionValuedInventory": [
- "string"
], - "accountable": true,
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}